WHILE-WEND

Syntax:

WHILE a#$ =  <  <=  >  >=  <> b#$
WEND

Loops the code in between WHILE and WEND as long as the comparision of a#$ and b#$ ist TRUE.

Sample:

i=0

WHILE i < 5
    i=i+1
    PRINT i, i*32, 100
WEND

SHOWSCREEN
MOUSEWAIT